package com.lkd.controller;


import com.lkd.service.BusinessService;
import com.lkd.vo.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

/**
 * <p>
 * 商圈表 前端控制器
 * </p>
 *
 * @author 聂德祥
 * @since 2024-08-19
 */
@RestController
public class BusinessController {
    @Autowired
    private BusinessService businessService;
    // 获取商圈类型
@GetMapping("/api/vm-service/businessType")
    public Result getBusinessType(){
    return Result.success(businessService.list());
}
}
